﻿




using System.Collections.Generic;
using System.Linq;

namespace Hotpot.ViewModels
{
    public class HotpotViewModelItems<T> : HotpotViewModel
    {
        public HotpotViewModelItems()
            : base()
        {
            Items = Enumerable.Empty<T>();
        }

        public HotpotViewModelItems(IEnumerable<T> items)
            : this()
        {
            Items = items;
        }

        public HotpotViewModelItems(IEnumerable<T> items, HotpotViewModel viewModel)
            : this(items)
        {
            SyncViewModel(viewModel);
        }

        public IEnumerable<T> Items { get; private set; }
    }
}
